<template>
<div class="loadingstyle">
  <div class="loading flex flex-align-center">
  	<div class="weui-mask"></div>
  	<div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
       
    </div>
  </div>
</div>
</template>



<style scoped>

.loadingstyle{
  width: 100%;
  height:100%;
  background: rgba(0,0,0,.5);
  position: absolute;
  z-index: 1000;
}
.loading .weui-mask {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10000;
}
.weui-toast {
    position: fixed;
    z-index: 110;
    width: 7.6em;
    min-height: 7.6em;
    top: 460px;
    left: 50%;
    margin-left: -3.8em;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    border-radius: 12px;
    color: #FFFFFF;
}
.weui-icon_toast.weui-loading {
    margin: 30px 0 0;
    width: 76px;
    height: 76px;
    vertical-align: baseline;
}
.weui-loading {
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    background: transparent url() no-repeat;
    background-size: 100%;
}
.weui-toast__content {
    margin:15px 0 0;
}
</style>